package com.sanyue.springboot.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 * @author: Guan
 **/

//@Controller + @ResponseBody
@RestController
public class HiController {
    @RequestMapping("/hi")
    public String hi(){
        return "hi,yue";
    }
}
